//
// Created by 王有林 on 2022/7/25.
//

#ifndef WORK02_SLGAME_H
#define WORK02_SLGAME_H
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define ROW 9
#define COL 9
#define NUM 10 //地雷个数
#define L   '@'
#define GZ   '*'

//初始化地图
void initBoard(char Board[ROW][COL]);

//打印地图
void PrintBoard(char Board[ROW][COL]);

//生成地雷坐标
void GetXY(int zb[NUM]);

int  IsEnd(char Board[ROW][COL],int zb[NUM],int x,int y);

int IsWin(char Board[ROW][COL],int zb[NUM]);
void showLei(char Board[ROW][COL],int zb[NUM]);

#endif //WORK02_SLGAME_H